package com.emmmya.module.excel.pojo;

import com.emmmya.harinCheck.annotation.Check;

import java.io.Serializable;
import java.util.List;

/**
 * @author harin
 * @version 1.0
 * @date 2022-05-06 09:06:12
 */
public class TitleRow implements Serializable {
    @Check(name="id")
    private Integer id;

    @Check(name="模板id",desc = "属于哪个模板的")
    private Integer templateId;

    @Check(name="行号",desc = "标题所在的行号")
    private Integer rowNum;

    @Check(name="标题单元格")
    private List<TitleCell> titleCellList;

    private RowStyle style;

    public TitleRow() {

    }

    public TitleRow(Integer rowNum, List<TitleCell> titleCellList) {
        this.rowNum = rowNum;
        this.titleCellList = titleCellList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRowNum() {
        return rowNum;
    }

    public void setRowNum(Integer rowNum) {
        this.rowNum = rowNum;
    }

    public List<TitleCell> getTitleCellList() {
        return titleCellList;
    }

    public void setTitleCellList(List<TitleCell> titleCellList) {
        this.titleCellList = titleCellList;
    }
}
